            <!-- 底部内容展示 -->
            <div class="foot_content_box" style="z-index: 1200;position: relative;">
                <div class="foot_content_nav">
                    <ul class="foot_content_nav_ul">
                        <li class="yqlj">友情链接</li>
                        <li><a target="_blank" href="https://www.iif2f.com/#/login">全购云</a></li>
                    </ul>
                </div>
                <div class="foot_com_information">
                    <div class="foot_company">
                        <div class="foot_company_logo">
                            <img src="../img/logo.jpg" alt="底部logo">
                        </div>
                        <div class="foot_company_info">
                            <h1>上海义文机电有限公司</h1>
                            <p class="ellipsis addr box">地址：上海市浦东新区航都路8号13幢</p>
                            <p class="ellipsis tel box">电话：4008-717-355</p>
                            <p class="ellipsis chanz box">传真：021-68221680</p>
                            <p class="ellipsis email box">邮箱：info@evan.com.cn</p>
                        </div>
                        <div class="foot_company_telphone box">
                            <p>业务咨询热线</p>
                            <h2>4008-717-355</h2>
                        </div>
                        <div class="foot_company_wech">
                            <div class="code_img"><img src="../img/code.png" alt="二维码"></div>
                            <p class="code_tip">扫一扫，关注我们</p>
                        </div>
                    </div>
                    <div class="foot_company_icp">©2023 上海靓联五金商行 PentaLink.com All Rights Reserved. 沪ICP备09007146号-4 沪公网安备 31011502005180号</div>
                </div>
            </div>
             
        </div>

        <script>
            $('.move_input').mouseover(function(){
                $(this).find('.headitem_list_menu').addClass('headitem_list_menu_active');
                $(this).find(".headitem_list_block_tankuang").show();
            }).mouseout(function(){
                $(this).find('.headitem_list_menu').removeClass('headitem_list_menu_active')
                $(this).find(".headitem_list_block_tankuang").hide();
                $(".headitem_list_block_tankuang").hide()
            });

            // $('.headitem_list_menu').mouseover(function(){
            //     $(this).addClass('headitem_list_menu_active');
            //     $(".headitem_list_block_tankuang").show();
            //     $(".tankuang_content_item").hide();
            //     $("." + $(this).attr("id")).show();
            // }).mouseout(function(){
            //     $(this).removeClass('headitem_list_menu_active');
            //     $(".headitem_list_block_tankuang").hide();
            // });


            // $('.move_input').mouseover(function(){
            //     $(this).find('.headitem_list_menu').addClass('headitem_list_menu_active');
            //     $(this).find(".headitem_list_block_tankuang").show();

            // }).mouseout(function(){
            //     $(this).find('.headitem_list_menu').removeClass('headitem_list_menu_active')
            //     $(this).find(".headitem_list_block_tankuang").hide();               
            // });
        
            //banner轮播
            var bannerSwiper = new Swiper('.headitem_list_block_banner .swiper-container', {
                loop: true,
                // 如果需要分页器
                pagination: '.swiper-pagination',
                paginationClickable: true,
                autoplay: 3000,
                autoplayDisableOnInteraction: false
            });

            //推荐榜
            var tjbSwiper = new Swiper('.tjb_fl_content_spner', {
                loop: true,
                // 如果需要分页器
                pagination: '.swiper-pagination',
                paginationClickable: true,
                autoplay: 3000,
                autoplayDisableOnInteraction: false
            });
           

            //案例轮播
            var caseSwiper = new Swiper('#about_case_example', {
                direction: 'horizontal',
                slidesPerView : 4,
                pagination: '.swiper-pagination',
                paginationClickable: true,
                nextButton: '.fye_btnfr_next',
                prevButton: '.fye_btn_fl_prev',
                spaceBetween: 23,
                hashnav: true,
                hashnavWatchState: true
               
            });
        </script>
    </body>
    <script>
        document.getElementById("search_input").addEventListener("keydown", function(event) {
        if (event.keyCode === 13) {
            //TODO：事件处理逻辑
            goSearch()
        }
        });
    $(".goHome").click(function(){
        location.href="./index.php"
    });
    //导航
    $('#logining li').mouseover(function(){
        $(this).find(".nav_tanceng").show();
    }).mouseout(function(){
        $(this).find(".nav_tanceng").hide();
    });
    
    $('#no_logon li').mouseover(function(){
        $(this).find(".nav_tanceng").show();
    }).mouseout(function(){
        $(this).find(".nav_tanceng").hide();
    });

    $(".user_name").on("input", function(){
        $("#err_msg").text("")
    })
    $(".user_pwd").on("input", function(){
        $("#err_msg").text("")
    })
    $(".user_code").on("input", function(){
        $("#err_msg").text("")
    })

    $("#signin_btn").click(function(){
        var userName = $(".user_name").val()
        var password = $(".user_pwd").val()
        var imgCode = $(".user_code").val()
        $.post("/new/login.php", {act: "post", username: userName, imgcode: imgCode, pwd: password}, function(res){
            res = JSON.parse(res)
            if(res.code != 200){
                $("#err_msg").text(res.msg)
            }else{
                $("#err_msg").text("登陆成功")

                window.location.reload()
                return
            }

            $("#captcha").attr("src", "../includes/securimage/securimage_show.php?sid=" + Math.random())
        })
    })

    $(".showLoginBtn").click(function(){
        $("#captcha").attr("src", "../includes/securimage/securimage_show.php?sid=" + Math.random())
        $(".login_alert_block").show()
    })
    function showLoginDialog(){
        $("#captcha").attr("src", "../includes/securimage/securimage_show.php?sid=" + Math.random())
        $(".login_alert_block").show()
    }
    $(".login_alert_content_close").click(function(){
        $(".login_alert_block").hide()
    })
    function refleshCode(){
        $("#captcha").attr("src", "../includes/securimage/securimage_show.php?sid=" + Math.random())
    }
    function goSearch(){
        var keyword = $("#search_input").val()
        if (keyword.trim() == ""){
            alert("请输入内容后搜索")
            return
        }
        location.href="./product.php?keyword=" + keyword
    }
    $("#search_input").blur(function(){
        $(".search_input li").remove()
        $(".search_input ul").hide();
    })
    $("#search_input").focus(function(){
        func($(this).val())
    })
    



    $('.top_class').mouseover(function(){
        $(this).find("#fenlei_block_tank").show();
        $(".headitem_list_block_tankuang_1").show();
    }).mouseout(function(){
        $(this).find("#fenlei_block_tank").hide();
    });

    function func(str) {
        $.ajax({
            type: "GET",
            url: "/product/alternative_keyword.php",
            async:true,
            data: {keyword:str},
            dataType: "json",
            success: function(data){
                $(".search_input li").remove()
                if(data.length>0){
                    // $("#selectId").show();
                    // $("#selectId").empty();
                    // var optionItem=$("<option></option>").append(" 请选择 ").attr("value","");
                    // optionItem.appendTo($("#selectId"));

                    for(var i=0;i<data.length;i++){
                        // var optionItem=$("<option></option>").append(data[i].name).attr("value",data[i].name);
                        // optionItem.appendTo($("#selectId"));
                        //$("#parentIndustryUL").append(" <li value="+data[i].name+">"+data[i].name+"</li>");
                        $(".search_input ul").append(" <li><a target='_blank' href=\"/new/product.php?keyword="+ data[i].name +"\"><p>"+data[i].name+"</p></a></li>");
                    }
                    //设置默认值
                    
                    $(".search_input ul").show();
                }else{
                    $(".search_input ul").hide();
                }
            }
        });
    }
    function OnInput (event) {
        func(event.target.value);
    }


    $('#top_shopping_cut').mouseover(function(){
        $(this).find(".cut_cont_tankuang").show();
        
    }).mouseout(function(){
        $(this).find(".cut_cont_tankuang").hide();
    });

    //删除
    function ShopcartDeleteNav(pid) {
    var cfn = confirm("您确定要删除当前商品吗?");
    if (!cfn) {
        return false;
    }
    $.post("/ajax/cart.php", { "act":'DelCurrent', "pid": pid }, function(data, state) {
        window.location.reload()
	});
}
</script>
</html>